package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author bob
 * @since 2025-01-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TSupplier对象", description="供应商信息表")
public class TSupplier implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "供应商编号")
    private String bn;

    @ApiModelProperty(value = "供应商名称")
    private String na;

    @ApiModelProperty(value = "联系人")
    private String linker;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "备注")
    private String remark;

    private Integer tp;// 类型 默认0主材供应商，1零部件供应商

    private String lab;//标签（供应物料或服务的类别：设备、工装易耗品、主材、零部件、包装、物流服务、广告服务）

    @ApiModelProperty(value = "评级（根据供应商考核方法动态计算）")
    private Integer level;

    @ApiModelProperty(value = "收件地址")
    private String addr;

    @ApiModelProperty(value = "开户银行")
    private String bank;

    @ApiModelProperty(value = "银行账号")
    private String card;

    @ApiModelProperty(value = "归属部门id")
    private Integer oid;

    @ApiModelProperty(value = "录入人guid")
    private Long guid;

    @ApiModelProperty(value = "所属部门")
    private String belong;

    private Date date;

    private String job;//职务
    private String wechat;//微信号


}
